www.gusucode.com > 基于马尔科夫随机场的图像分割matlab源码。包括ICM迭代条件模式求解最大后验概率算法 > code23/matlab MRF toy examples/utIsSingleString.m
function res = utIsSingleString (value) res = 0; if (ischar(value)) if (length(size(value))==2) if (size(value,1)==1) res = 1; end; end; end;